Skip to content

Comments

Update package references to latest versions and refactor extension methods for improved clarity#301

Merged
shibayan merged 1 commit intomasterfrom
update-packages
Feb 20, 2026
Merged

Update package references to latest versions and refactor extension methods for improved clarity#301
shibayan merged 1 commit intomasterfrom
update-packages

Conversation

@shibayan
Copy link
Collaborator

This pull request primarily updates several dependencies to their latest versions across the solution and refactors some extension methods in FriendlyOverloadExtensions.cs to use C# extension syntax. These changes help maintain compatibility with newer libraries and improve code organization.

Dependency updates:

  • Upgraded Microsoft.Extensions.DependencyInjection and its abstractions from version 10.0.2 to 10.0.3 in both WinQuickLook.App and packages.lock.json files. [1] [2]
  • Updated Markdig from 0.44.0 to 0.45.0 and Microsoft.Web.WebView2 from 1.0.3719.77 to 1.0.3800.47 in WinQuickLook.Core, WinQuickLook.App, and associated lock files. [1] [2] [3] [4] [5] [6] [7]
  • Upgraded coverlet.collector from 6.0.4 to 8.0.0 in WinQuickLook.Core.Tests. [1] [2]

Code refactoring:

  • Refactored extension methods for IFolderView and IShellWindows in FriendlyOverloadExtensions.cs to use C# 12 extension syntax, improving encapsulation and code clarity. [1] [2] [3]

@shibayan shibayan requested a review from Copilot February 20, 2026 03:39
@shibayan shibayan self-assigned this Feb 20, 2026
@shibayan shibayan added enhancement New feature or request dependencies Pull requests that update a dependency file labels Feb 20, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request attempts to update several NuGet package dependencies and refactor extension methods in FriendlyOverloadExtensions.cs. However, the refactoring introduces critical compilation errors that will break the build.

Changes:

  • Updates to NuGet packages: Microsoft.Extensions.DependencyInjection (10.0.2→10.0.3), Markdig (0.44.0→0.45.0), Microsoft.Web.WebView2 (1.0.3719.77→1.0.3800.47), and coverlet.collector (6.0.4→8.0.0)
  • Attempted refactoring of extension methods using invalid C# syntax
  • Package lock file updates to reflect the new versions

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
WinQuickLook.CsWin32/FriendlyOverloadExtensions.cs Critical: Contains invalid C# syntax that will cause compilation failure. The extension() syntax does not exist in C#.
WinQuickLook.Core/WinQuickLook.Core.csproj Updates Markdig and Microsoft.Web.WebView2 package versions
WinQuickLook.Core/packages.lock.json Updates package lock file with new versions of Markdig and Microsoft.Web.WebView2
WinQuickLook.Core.Tests/WinQuickLook.Core.Tests.csproj Updates coverlet.collector from 6.0.4 to 8.0.0
WinQuickLook.Core.Tests/packages.lock.json Updates package lock file with new versions of test dependencies and transitive dependencies
WinQuickLook.App/WinQuickLook.App.csproj Updates Microsoft.Extensions.DependencyInjection from 10.0.2 to 10.0.3
WinQuickLook.App/packages.lock.json Updates package lock file with new versions of Microsoft.Extensions.DependencyInjection and transitive dependencies

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@shibayan shibayan merged commit 46c7fe5 into master Feb 20, 2026
8 checks passed
@shibayan shibayan deleted the update-packages branch February 20, 2026 03:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant